package com.pcbly.web.bean.workflow;
 

import java.util.Date;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.pcbly.web.bean.AbstractBaseBean;


/** @author Hibernate CodeGenerator */
public class WorkflowTransitionBean extends AbstractBaseBean {

    /**
	 * 
	 */
	private static final long serialVersionUID = 4959895093900905662L;
 

    
    private String description;

    
    private WorkflowTemplateBean workflowTemplate;

    
    private WorkflowStepBean fromStep;

    
    private WorkflowStepBean toStep; 
    
    private Date createDate;
    
    

    public Date getCreateDate() {
		return createDate;
	}


	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}


	/** default constructor */
    public WorkflowTransitionBean() {
    }
 

    public String getDescription() {
        return this.description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public WorkflowTemplateBean getWorkflowTemplate() {
        return this.workflowTemplate;
    }

    public void setWorkflowTemplate(WorkflowTemplateBean workflowTemplate) {
        this.workflowTemplate = workflowTemplate;
    }

    public WorkflowStepBean getFromStep() {
        return this.fromStep;
    }

    public void setFromStep(WorkflowStepBean fromStep) {
        this.fromStep = fromStep;
    }

    public WorkflowStepBean getToStep() {
        return this.toStep;
    }

    public void setToStep(WorkflowStepBean toStep) {
        this.toStep = toStep;
    }

    /**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		return EqualsBuilder.reflectionEquals(this, object);
	}

	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}

}
